﻿using System;

namespace DataConvertLib
{
	/// <summary>
	/// 带四个数据的操作结果类
	/// </summary>
	/// <typeparam name="T1">类型1</typeparam>
	/// <typeparam name="T2">类型2</typeparam>
	/// <typeparam name="T3">类型3</typeparam>
	/// <typeparam name="T4">类型4</typeparam>
	// Token: 0x02000012 RID: 18
	public class OperateResult<T1, T2, T3, T4> : OperateResult
	{
		/// <summary>
		/// 构造方法
		/// </summary>
		// Token: 0x060000A4 RID: 164 RVA: 0x00005175 File Offset: 0x00003375
		public OperateResult()
		{
		}

		/// <summary>
		/// 构造方法
		/// </summary>
		/// <param name="isSuccess">操作是否成功</param>
		// Token: 0x060000A5 RID: 165 RVA: 0x0000517F File Offset: 0x0000337F
		public OperateResult(bool isSuccess) : base(isSuccess)
		{
		}

		/// <summary>
		/// 构造方法
		/// </summary>
		/// <param name="message">错误信息</param>
		// Token: 0x060000A6 RID: 166 RVA: 0x0000518A File Offset: 0x0000338A
		public OperateResult(string message) : base(message)
		{
		}

		/// <summary>
		/// 构造方法
		/// </summary>
		/// <param name="errorCode">错误代码</param>
		/// <param name="message">错误信息</param>
		// Token: 0x060000A7 RID: 167 RVA: 0x00005195 File Offset: 0x00003395
		public OperateResult(int errorCode, string message) : base(errorCode, message)
		{
		}

		/// <summary>
		/// 构造方法
		/// </summary>
		/// <param name="isSuccess">是否成功</param>
		/// <param name="errorCode">错误代码</param>
		/// <param name="message">错误信息</param>
		// Token: 0x060000A8 RID: 168 RVA: 0x000051A1 File Offset: 0x000033A1
		public OperateResult(bool isSuccess, int errorCode, string message) : base(isSuccess, errorCode, message)
		{
		}

		/// <summary>
		/// 构造方法
		/// </summary>
		/// <param name="isSuccess">是否成功</param>
		/// <param name="errorCode">错误代码</param>
		/// <param name="message">错误信息</param>
		/// <param name="content1">数据1</param>
		/// <param name="content2">数据2</param>
		/// <param name="content3">数据3</param>
		/// <param name="content4">数据4</param>
		// Token: 0x060000A9 RID: 169 RVA: 0x000051AE File Offset: 0x000033AE
		public OperateResult(bool isSuccess, int errorCode, string message, T1 content1, T2 content2, T3 content3, T4 content4) : base(isSuccess, errorCode, message)
		{
			this.Content1 = content1;
			this.Content2 = content2;
			this.Content3 = content3;
			this.Content4 = content4;
		}

		/// <summary>
		/// 数据1
		/// </summary>
		// Token: 0x1700000D RID: 13
		// (get) Token: 0x060000AA RID: 170 RVA: 0x000051DF File Offset: 0x000033DF
		// (set) Token: 0x060000AB RID: 171 RVA: 0x000051E7 File Offset: 0x000033E7
		public T1 Content1 { get; set; }

		/// <summary>
		/// 数据2
		/// </summary>
		// Token: 0x1700000E RID: 14
		// (get) Token: 0x060000AC RID: 172 RVA: 0x000051F0 File Offset: 0x000033F0
		// (set) Token: 0x060000AD RID: 173 RVA: 0x000051F8 File Offset: 0x000033F8
		public T2 Content2 { get; set; }

		/// <summary>
		/// 数据3
		/// </summary>
		// Token: 0x1700000F RID: 15
		// (get) Token: 0x060000AE RID: 174 RVA: 0x00005201 File Offset: 0x00003401
		// (set) Token: 0x060000AF RID: 175 RVA: 0x00005209 File Offset: 0x00003409
		public T3 Content3 { get; set; }

		/// <summary>
		/// 数据4
		/// </summary>
		// Token: 0x17000010 RID: 16
		// (get) Token: 0x060000B0 RID: 176 RVA: 0x00005212 File Offset: 0x00003412
		// (set) Token: 0x060000B1 RID: 177 RVA: 0x0000521A File Offset: 0x0000341A
		public T4 Content4 { get; set; }
	}
}
